package com.kyc.kycxkplaygame.entity;


import java.util.List;

/**
 * Created by Administrator on 2018/7/6.
 */

public class UserInfoBean {
    /**
     * logininfo : {"userID":1,"userName":"13423737683","wxName":null,"registDate":"2018-08-08 16:59:57","updateDate":"0000-00-00 00:00:00","nowLevel":2,"userPropInfo":[{"upID":1,"propID":"P01","propNum":5,"propName":"体力"}],"userLevelInfo":[{"levelID":1,"level":1,"startCount":3,"fraction":1000,"batter":2,"grepNum":50}]}
     * code : 200
     * message : 登录成功
     */

    private LogininfoBean logininfo;
    private int code;
    private String message;

    public LogininfoBean getLogininfo() {
        return logininfo;
    }

    public void setLogininfo(LogininfoBean logininfo) {
        this.logininfo = logininfo;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class LogininfoBean {
        /**
         * userID : 1
         * userName : 13423737683
         * wxName : null
         * registDate : 2018-08-08 16:59:57
         * updateDate : 0000-00-00 00:00:00
         * nowLevel : 2
         * userPropInfo : [{"upID":1,"propID":"P01","propNum":5,"propName":"体力"}]
         * userLevelInfo : [{"levelID":1,"level":1,"startCount":3,"fraction":1000,"batter":2,"grepNum":50}]
         */

        private int userID;
        private String userName;
        private Object wxName;
        private String registDate;
        private String updateDate;
        private int nowLevel;
        private List<UserPropInfoBean> userPropInfo;
        private List<UserLevelInfoBean> userLevelInfo;

        public int getUserID() {
            return userID;
        }

        public void setUserID(int userID) {
            this.userID = userID;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public Object getWxName() {
            return wxName;
        }

        public void setWxName(Object wxName) {
            this.wxName = wxName;
        }

        public String getRegistDate() {
            return registDate;
        }

        public void setRegistDate(String registDate) {
            this.registDate = registDate;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public int getNowLevel() {
            return nowLevel;
        }

        public void setNowLevel(int nowLevel) {
            this.nowLevel = nowLevel;
        }

        public List<UserPropInfoBean> getUserPropInfo() {
            return userPropInfo;
        }

        public void setUserPropInfo(List<UserPropInfoBean> userPropInfo) {
            this.userPropInfo = userPropInfo;
        }

        public List<UserLevelInfoBean> getUserLevelInfo() {
            return userLevelInfo;
        }

        public void setUserLevelInfo(List<UserLevelInfoBean> userLevelInfo) {
            this.userLevelInfo = userLevelInfo;
        }

        public static class UserPropInfoBean {
            /**
             * upID : 1
             * propID : P01
             * propNum : 5
             * propName : 体力
             */

            private int upID;
            private String propID;
            private int propNum;
            private String propName;

            public int getUpID() {
                return upID;
            }

            public void setUpID(int upID) {
                this.upID = upID;
            }

            public String getPropID() {
                return propID;
            }

            public void setPropID(String propID) {
                this.propID = propID;
            }

            public int getPropNum() {
                return propNum;
            }

            public void setPropNum(int propNum) {
                this.propNum = propNum;
            }

            public String getPropName() {
                return propName;
            }

            public void setPropName(String propName) {
                this.propName = propName;
            }
        }

        public static class UserLevelInfoBean {
            /**
             * levelID : 1
             * level : 1
             * startCount : 3
             * fraction : 1000
             * batter : 2
             * grepNum : 50
             */

            private int levelID;
            private int level;
            private int startCount;
            private int fraction;
            private int batter;
            private int grepNum;

            public int getLevelID() {
                return levelID;
            }

            public void setLevelID(int levelID) {
                this.levelID = levelID;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public int getStartCount() {
                return startCount;
            }

            public void setStartCount(int startCount) {
                this.startCount = startCount;
            }

            public int getFraction() {
                return fraction;
            }

            public void setFraction(int fraction) {
                this.fraction = fraction;
            }

            public int getBatter() {
                return batter;
            }

            public void setBatter(int batter) {
                this.batter = batter;
            }

            public int getGrepNum() {
                return grepNum;
            }

            public void setGrepNum(int grepNum) {
                this.grepNum = grepNum;
            }
        }
    }


    /**
     * code : 200
     *  userbean : {"userphone":"\"13423737683\"","userpwd":"123456","LevelBean":[{"level":"01","starcount":3,"fraction":2900,"batter":2},{"level":"02","starcount":3,"fraction":3200,"batter":2},{"level":"03","starcount":3,"fraction":3000,"batter":2}],"PropBean":[{"propname":"葡萄","propnum":300},{"propname":"草莓","propnum":5},{"propname":"提示","propnum":10},{"propname":"炸弹","propnum":7},{"propname":"西柚","propnum":5},{"propname":"体力","propnum":5}]}
     */

    /*private int code;
    private UserBean userbean;

    public void setCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setuserbean(UserBean userbean) {
        this.userbean = userbean;
    }

    public UserBean getuserbean() {
        return userbean;
    }

    public class UserBean {

        private String userphone;
        private String userpwd;
        private List<LevelBean> LevelBean;
        private List<PropBean> PropBean;

        public void setUserphone(String userphone) {
            this.userphone = userphone;
        }

        public String getUserphone() {
            return userphone;
        }

        public void setUserpwd(String userpwd) {
            this.userpwd = userpwd;
        }

        public String getUserpwd() {
            return userpwd;
        }

        public void setLevelBean(List<LevelBean> LevelBean) {
            this.LevelBean = LevelBean;
        }

        public List<LevelBean> getLevelBean() {
            return LevelBean;
        }

        public void setPropBean(List<PropBean> PropBean) {
            this.PropBean = PropBean;
        }

        public List<PropBean> getPropBean() {
            return PropBean;
        }

        public class PropBean {

            private String propname;
            private int propnum;

            public void setPropname(String propname) {
                this.propname = propname;
            }

            public String getPropname() {
                return propname;
            }

            public void setPropnum(int propnum) {
                this.propnum = propnum;
            }

            public int getPropnum() {
                return propnum;
            }
        }

        public class LevelBean {
            private String level;
            private int starcount;
            private int fraction;
            private int batter;

            public void setLevel(String level) {
                this.level = level;
            }

            public String getLevel() {
                return level;
            }

            public void setStarcount(int starcount) {
                this.starcount = starcount;
            }

            public int getStarcount() {
                return starcount;
            }

            public void setFraction(int fraction) {
                this.fraction = fraction;
            }

            public int getFraction() {
                return fraction;
            }

            public void setBatter(int batter) {
                this.batter = batter;
            }

            public int getBatter() {
                return batter;
            }
        }
    }*/

}
